#include <stdio.h>
int main(){
    int score=0;
    printf("Your score:");
    scanf("%d",&score);
    if(score<=59){
        printf("E\n");
       
    }else if(score>=60 && score<=69){
        printf("D\n");
        
    }else if(score>=70 && score<=79){
        printf("C\n");

    }else if(score>=80 && score<=89){
        printf("B\n");

    }else if(score>=90 && score){
        printf("A\n");
    }
    return 0;
}